<div class = "row-fluid">
	<div class="span2"></div>
	<div class = "span8">
		<h3>Lista Filme</h3>
		<div class = "row-fluid">			
				<?php 
				if(isset($rezultate)){ 
					if(count($rezultate) !== 0){
						foreach ($rezultate as $movie) {?>
				<div class = "span2">
					<img style="margin:60px;box-shadow:0 0 5px 2px white;width:100px;height:140px;" src="./images/posters/<?php echo $movie['poster']?>.jpg"/>
				</div>
				<div class="span10">
					<h4><a href="<?php echo base_url()?>cautare/view_film/<?php echo $movie['id']?>"><?php echo $movie['titlu'];?></a></h4>
					<p>Descriere: <?php echo $movie['descriere'];?></p>
					<p>Durata: <?php echo $movie['durata'];?> minute</p>
				</div>
				<?php	}
					}else if(count($rezultate) == 0){?>
					<div>
						Nu a fost gasita.
					</div>
				<?php }
				}?>
		</div>
	</div>
	<div class="span2"></div>
</div>